#ifndef _POINT_H_
#define _POINT_H_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include <cmath>

class Point {
	
	private:

		int x;

		int y;

	public:

		Point();

		Point(const Point &p);

		int getX() const;
		
		int getY() const;

		void setX(int x1);

		void setY(int y1);
		
		bool operator==(const Point &p) const;

		Point operator =(const Point &p); 

		Point operator +(const Point &p);

		Point operator -(const Point &p);

		Point(int x,int y);

		double distance(const Point &p2) const;

		virtual ~Point();
		

};

#endif 